package com.xlongwei.accounts.view;

import java.time.LocalDate;

import org.noear.solon.validation.annotation.Min;
import org.noear.solon.validation.annotation.Pattern;

import com.xlongwei.accounts.controller.RecordController;

import lombok.Data;

@Data
public class Query {
    private @Min(1) Integer userid, limit;
    private LocalDate start, end;
    private @Min(1) Integer accountid, ledgerid, memberid;
    private boolean withoutTransfer, withRemark;
    private @Pattern(RecordController.PATTERN_AMOUNT) String amountMin, amountMax;
    private String remark;
}
